package mall.service;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import mall.dao.MemberTypeDAO;
import mall.pojo.Membertype;

@Service
public class MemberTypeServiceImpl implements MemberTypeService {
	
	@Autowired
	private MemberTypeDAO memberTypeDAO;

	@Override
	@Transactional
	public Membertype getMemberType(int typeId) {
		return memberTypeDAO.getMemberType(typeId);
	}

}
